package com.lagou.edu.message.remote;

import com.lagou.edu.message.entity.Message;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 程  林
 * @date 2021-01-31 18:44
 * @description //
 * @since V1.0.0
 */
@FeignClient(value = "edu-message-boot", path = "message")
public interface MessageService {


    @PostMapping("/sendMsg")
    Boolean sendMsg(@RequestBody Message message);

}
